<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AddressBook.Controllers.SearchViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Criteria
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

   

    <h2>Criteria</h2>
    
    <%if (ViewData.Model != null)
      {%>
    <span style="color:Red" ><b><%=ViewData.Model.ErrorMessage%></b></span>
    <%} %>
        
    <%Html.BeginForm("submits", ViewData["ExecutionKey"].ToString(), FormMethod.Post); %>
        
        <input type="text" name="firstName" /> <br /><br />
        
        <input type="text" name="lastName" /> <br /><br />
        
        <input type="submit" value="submit" />
        
    <%Html.EndForm(); %>    
        
</asp:Content>

